package org.scirp.ijmis.service.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.common.IDegreeDAO;
import org.scirp.ijmis.po.common.Degree;
import org.scirp.ijmis.service.common.IDegreeService;

public class DegreeServiceImpl implements IDegreeService {

	private IDegreeDAO degreeDAO;

	public IDegreeDAO getDegreeDAO() {
		return degreeDAO;
	}

	public void setDegreeDAO(IDegreeDAO degreeDAO) {
		this.degreeDAO = degreeDAO;
	}

	public List<Degree> selectAll() {

		return this.degreeDAO.selectAll();
	}

	public Degree selectById(Object id) {

		return this.degreeDAO.selectById(id);
	}

}
